package com.cloudlead.shipownerAction.service;

import com.cloudlead.common.lang.persistence.Page;
import com.cloudlead.shipownerService.vo.BaseVoyageCreateVo;
import com.cloudlead.shipownerService.vo.BaseVoyageVo;

import java.util.List;

/**
 * Created by Jinnoo on 2015/8/12.
 */
public interface BaseVoyageEditSer {
    //航次创建
    public void createVoyage(BaseVoyageCreateVo vo);
    //航次编辑
    public void editVoyage(BaseVoyageVo vo);
    //单值查询
    public Object findOneVoyage(BaseVoyageVo vo);
    //分页查询
    public Page<BaseVoyageVo> findAllVoyage(BaseVoyageVo bv,int size ,int page);
    //删除航次
    public void delVoyage(String id);
}
